package com.bigdata.service.service;

import com.bigdata.service.domain.PointRules;
import com.bigdata.service.domain.vo.PointRulesVo;
import com.bigdata.service.domain.bo.PointRulesBo;
import com.bigdata.common.core.page.TableDataInfo;
import com.bigdata.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 积分规则配置Service接口
 *
 * @author ruoyi
 * @date 2025-07-15
 */
public interface IPointRulesService {

    /**
     * 查询积分规则配置
     */
    PointRulesVo queryById(String ruleId);

    /**
     * 查询积分规则配置列表
     */
    TableDataInfo<PointRulesVo> queryPageList(PointRulesBo bo, PageQuery pageQuery);

    /**
     * 查询积分规则配置列表
     */
    List<PointRulesVo> queryList(PointRulesBo bo);

    /**
     * 新增积分规则配置
     */
    Boolean insertByBo(PointRulesBo bo);

    /**
     * 修改积分规则配置
     */
    Boolean updateByBo(PointRulesBo bo);

    /**
     * 校验并批量删除积分规则配置信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
